#include "Viewport.h"
#include<glad/glad.h>
#include<GLFW/glfw3.h>

namespace OCPP
{
	Viewport::Viewport(int x,int y,int width,int height)
		:ix(x),
		iy(y),
		iwidth(width),
		iheight(height)
	{
		
	}

	Viewport::~Viewport()
	{
	}

	void Viewport::make()
	{
		glViewport(ix, iy, iwidth, iheight);
	}
}